package com.dc.entity.ro;

import com.dc.ro.PageRO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 系统角色-请求参数模型
 */
@ApiModel
@Data
public class SysRoleRO extends PageRO {

    private static final long serialVersionUID = -3771894404498592797L;

    @ApiModelProperty(value = "角色id", example = "")
    private Long id;

    @ApiModelProperty(value = "角色名称", example = "管理员")
    private String roleName;

    @ApiModelProperty(value = "角色描述", example = "系统管理员权限")
    private String description;

    @ApiModelProperty(value = "是否启用", example = " 默认0 : 启动 1：禁用")
    private Integer isEnable;

    @ApiModelProperty(value = "升降序字段名", example = " create_time")
    private String orderByColumn;

    @ApiModelProperty(value = "desc or asc ", example = "desc")
    private String isAsc;

    @ApiModelProperty(value = "菜单id集合(所有选中的菜单的id集合)", example = "")
    private List<Long> resourceIds;


}
